/*
 *******************       播放控制代理       ******************
 
 */
#import <Foundation/Foundation.h>

@class WXUPnPAVPositionInfo;
@class WXUPnPTransportInfo;

// 响应解析回调协议
@protocol WXUPnPResponseDelegate <NSObject>

@required

/// 设置url响应
- (void)upnpSetAVTransportURIResponse;

/// 获取播放状态
- (void)upnpGetTransportInfoResponse:(WXUPnPTransportInfo *)info;

@optional

/// 播放响应
- (void)upnpPlayResponse;

/// 暂停响应
- (void)upnpPauseResponse;

/// 停止投屏
- (void)upnpStopResponse;

/// 跳转响应
- (void)upnpSeekResponse;

/// 以前的响应
- (void)upnpPreviousResponse;

/// 下一个响应
- (void)upnpNextResponse;

/// 设置音量响应
- (void)upnpSetVolumeResponse;

/// 设置下一个url响应
- (void)upnpSetNextAVTransportURIResponse;

/// 获取音频信息
- (void)upnpGetVolumeResponse:(NSString *)volume;

/// 获取播放进度
- (void)upnpGetPositionInfoResponse:(WXUPnPAVPositionInfo *)info;

/// 未定义的响应/错误
/// @param resXML  响应XML
/// @param postXML 请求的动作
- (void)upnpUndefinedResponse:(NSString *)resXML postXML:(NSString *)postXML;

@end
